× Lesson 1 Lesson 2 Lesson 3 Lesson 4 Lesson 5 Lesson 6 Lesson 7 Lesson 8 Lesson 9 Lesson 10 Lesson 11 Lesson 12 Lesson 13 Lesson 14 Lesson 15 Lesson 16

All lessons

Lesson 5 - Operators

Operators are things like +, -, *, /, which are addition, subtraction, multiplication, and division respectively, and can be used to perform math equations

These operators can peform the math equations with integers, and can be used as values for variables and print()

For variables, you can try:

number = 2 + 2

Or something more complex with a print():

number = 2 / 2 * 42 + 32 - 7 / 2
print(number)

Or print it directly without using a variable:

print(2 / 2 * 42 + 32 - 7 / 2)